//
//  cl_HomeViewController.m
//  ManagerStaff
//
//  Created by vu hoang son on 8/2/14.
//  Copyright (c) 2014 seahorse. All rights reserved.
//

#import "cl_HomeViewController.h"
#import "cl_adminViewController.h"

@interface cl_HomeViewController ()

@end

@implementation cl_HomeViewController
@synthesize o_adminBackgroundImage, o_homeBackgroudImage, o_reportBackgroundImage;

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (IBAction)HomeButton:(id)sender {
    [o_homeBackgroudImage setBackgroundColor:[UIColor colorWithRed:0.35f green:0.85f blue:0.91f alpha:1]];
    [o_adminBackgroundImage setBackgroundColor:[UIColor whiteColor]];
    [o_reportBackgroundImage setBackgroundColor:[UIColor whiteColor]];
    
}

- (IBAction)AdminButton:(id)sender {
    [o_adminBackgroundImage setBackgroundColor:[UIColor colorWithRed:0.35f green:0.85f blue:0.91f alpha:1]];
    [o_homeBackgroudImage setBackgroundColor:[UIColor whiteColor]];
    [o_reportBackgroundImage setBackgroundColor:[UIColor whiteColor]];
}

- (IBAction)ReportButton:(id)sender {
    [o_reportBackgroundImage setBackgroundColor:[UIColor colorWithRed:0.35f green:0.85f blue:0.91f alpha:1]];
    [o_adminBackgroundImage setBackgroundColor:[UIColor whiteColor]];
    [o_homeBackgroudImage setBackgroundColor:[UIColor whiteColor]];
}
@end
